﻿using FoodModel;
using J.IRepository;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace J.FoodRepository.InterFace
{
    public interface ITasteRepository:IRepository<TasteModel>
    {
        /// <summary>
        /// 口味添加
        /// </summary>
        /// <param name="model"></param>
        /// <returns></returns>
        Task<int> TasteAdd(TasteModel model);
        /// <summary>
        /// 口味反填
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        Task<List<TasteModel>> TasteBack(string id);
    }
}
